用miniconda快速搭建pyhon环境,安装jupyter notebook |
您所在的位置:网站首页 › python37 tensorflow › 用miniconda快速搭建pyhon环境,安装jupyter notebook |
感觉Anaconda太大了,安装起来不快。所以改用Miniconda3。 Miniconda3安装:这是Anaconda的阉割版,仅包含了python环境和管理器prompt,但是大小只有区区52M,占用存储250M,远小于anaconda的660M和3000M。 下载地址:https://conda.io/miniconda.html Miniconda3 Juypter notebook安装:上网查了一下,有两种: 一个是官网上的 conda install ipython jupyter 另一个是民间的 conda install jupyter notebook 但是包的下载速度太慢,所以改用国内镜像。 打开 anaconda prompt(miniconda3)管理器,输入: pip install jupyter -i https://pypi.tuna.tsinghua.edu.cn/simple 启动jupyter notebook: jupyter notebook 会自动打开浏览器页面: image.png tips:代码形式: pip install 某包 -i 某镜像源 国内常用的镜像源: 清华大学: https://pypi.tuna.tsinghua.edu.cn/simple/ 阿里云: https://mirrors.aliyun.com/pypi/simple/ 中国科技大学: https://pypi.mirrors.ustc.edu.cn/simple/ 豆瓣: http://pypi.douban.com/simple/ 中国科学技术大学: http://pypi.mirrors.ustc.edu.cn/simple/ 华中理工大学:http://pypi.hustunique.com/simple/ 山东理工大学:http://pypi.sdutlinux.org/simple/ |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |